Korean language and computers

This article addresses how computers are used to read and write Korean, using Hangul.

Contents

Character encodings

In RFC 1557, a method known as ISO-2022-KR for a 7-bit encoding of Korean characters in email was described.  Where 8 bits are allowed, the EUC-KR encoding is preferred.  These two encodings combine US-ASCII (ISO 646) with the Korean standard KS X 1001:1992[1] (previously named KS C 5601:1987).  In North Korea, a separate character set called KPS 9566 is in use, which is rather similar to KS X 1001.

The international Unicode standard contains special characters for representing the Korean language in the native Hangul phonetic system.  There are two ways supported by Unicode.  The way used by Windows is to have every one of the 11,172 syllable combinations as a code and a pre-formed font character.  The other way is to encode jamos, and to let the software combine them into correct combinations, which is not supported in Windows.  Of course the former way needs more font memory, but gives the possibility of getting better shapes, since it is complicated to create fully correct combinations which may be preferred when creating documents.

There is also the possibility of simply stacking a (sequence of) medial(s) (jungseong) – and then a (sequence of) final(s) (jongseong) and/or a Middle Korean pitch mark, if needed – on top of the (sequence of) initial(s) (choseong), if the font has medial and final jamos with zero-width spacing that are inserted to the left of the cursor or caret, thus appearing in the right place below or to the right of the initial.  If a syllable has a horizontal medial (, , , or ), the initial will probably appear further left in a complete syllable than is the case in pre-formed syllables due to the space that must be reserved for a vertical medial, giving an aesthetically poor appearance to what may be the only way to display Middle Korean Hangul text without resorting to images, romanisation, replacement of obsolete jamo or non-standard encodings.  However, most current fonts do not support this.

The Unicode standard also has attempted to create a unified CJK character set that can represent Chinese (Hanzi) as well as the Japanese (Kanji) and Korean (Hanja) derivatives of this script through the Han unification process, which does not discriminate by language nor region for rendering Chinese characters, as long as the different typographic traditions have not resulted in major differences concerning what the character looks like – see Image:Xin-jiu-zixing.png for examples of characters whose appearance recently underwent only minor changes in Mainland China.  Han unification has met with some criticism.

Text input

On a Korean computer keyboard, text is typically entered by simply pushing a key for the appropriate Jamo; the operating system creates each composite character on the fly. Depending on the IME and keyboard layout, double consonants can be entered by holding the shift button. When all jamo making up a syllabic block have been entered, the user may initiate a conversion to Hanja or other special characters using a keyboard shortcut or interface button; South Korean keyboards have a separate key for this. Subsequent semi-automated hanja conversion is supported to varying degrees in word processors.

When using a keyboard from another language, most operating systems require the user to type using an original Korean keyboard layout, the most common of which is 2(du)-beolsik. This is in contrast to some other languages like Japanese, where text can be entered using a Romanization system on non-native keyboards.

Hanja

Apart from the conversion issues mentioned above, some Korean fonts do not include hanja to start with. At the same time, current word processors do not allow the user to specify which font to use as a fallback for any hanja that may occur in a text. In that case, each sequence of hanja must be manually formatted to appear in the desired font.

Special situations

Having text run in vertical lines is poorly or not at all supported by HTML and most word processors, although this is not an issue for modern Korean, as it is usually written horizontally. Until the second half of the 20th century, however, Korean was often written vertically. 15th century texts written in Hangul had pitch marks to the left of syllables, which are included in Unicode, although most current fonts do not adequately support them, either.

See the section on #Character encodings above for obsolete jamo.

Programs

Notable programs specifically designed for Korean language-related use include:

Hangul in Unicode

Hangul letters are detailed in several separate parts of the Unicode specification:

Hangul Syllables Area

To find Hangul Syllables in Unicode, you can apply a simple formula. The formula and tables are as follows:

[{(initial)×588}+{(medial)×28}+(final)]+44032

Initial Jamo

  • ㄱ 0
  • ㄲ 1
  • ㄴ 2
  • ㄷ 3
  • ㄸ 4
  • ㄹ 5
  • ㅁ 6
  • ㅂ 7
  • ㅃ 8
  • ㅅ 9
  • ㅆ 10
  • ㅇ 11
  • ㅈ 12
  • ㅉ 13
  • ㅊ 14
  • ㅋ 15
  • ㅌ 16
  • ㅍ 17
  • ㅎ 18

Medial Jamo

  • ㅏ 0
  • ㅐ 1
  • ㅑ 2
  • ㅒ 3
  • ㅓ 4
  • ㅔ 5
  • ㅕ 6
  • ㅖ 7
  • ㅗ 8
  • ㅘ 9
  • ㅙ 10
  • ㅚ 11
  • ㅛ 12
  • ㅜ 13
  • ㅝ 14
  • ㅞ 15
  • ㅟ 16
  • ㅠ 17
  • ㅡ 18
  • ㅢ 19
  • ㅣ 20

Final Jamo

  • no jamo 0
  • ㄱ 1
  • ㄲ 2
  • ㄳ 3
  • ㄴ 4
  • ㄵ 5
  • ㄶ 6
  • ㄷ 7
  • ㄹ 8
  • ㄺ 9
  • ㄻ 10
  • ㄼ 11
  • ㄽ 12
  • ㄾ 13
  • ㄿ 14
  • ㅀ 15
  • ㅁ 16
  • ㅂ 17
  • ㅄ 18
  • ㅅ 19
  • ㅆ 20
  • ㅇ 21
  • ㅈ 22
  • ㅊ 23
  • ㅋ 24
  • ㅌ 25
  • ㅍ 26
  • ㅎ 27

Example

For example, If you want to find the codepoint of “한” in Unicode:

So, the formula will be {(18×588)+(0×28)+4}+44032, and the result is 54620. It means the Unicode value of 한 is 54620 in decimal, 한 by the numeric character reference, and U+D55C in standard Unicode notation.

Hangul Compatibility Jamo Area

Hangul Compatibility Jamo Area is the part of Unicode which has been allocated for compatibility with the KS X 1001 character set. Usually it is used for representing modern Hangul jamo and some obsolete Hangul Jamo, without distinguishing initial and final.

Hangul Jamo Area

Hangul Jamo Area is the range of Unicode between U+1100–U+11FF. It contains initial jamo, medial jamo and final jamo, including obsolete jamo. Nalgaeset Hangul IME and Un Jamo Batang represent obsolete Hangul using this area.

Hangul Jamo Extended Areas

Hangul Jamo Extended-A and Hangul Jamo Extended-B were added in Unicode 5.2. The areas contain obsolete Hangul jamo.

Hanyang Private Use Area codes

Hangul (word processor) ships with fonts from Hanyang Information and Communication. Their fonts map obsolete Hangul characters to the Private Use Area of Unicode. Despite the use of the Private Use Area instead of dedicated codepoints, Hanyang’s mapping is currently the most popular way to represent obsolete Hangul in South Korea.

See also

References

  1. ^ "KS X 1001:1992". http://examples.oreilly.com/cjkvinfo/AppL/ksx1001.pdf. 
  2. ^ a b 김치관 (2000-12-02). "문답으로 보는 북한 정보화의 현주소" (in Korean). Tongilnews.com. http://www.tongilnews.com/news/articleView.html?idxno=2455. Retrieved 2006-12-03. 
  3. ^ a b c 김효석 (2000-12-02). "<국회자료집> 북한 S/W 현황과 시연자료" (in Korean). Tongilnews.com. http://www.tongilnews.com/news/articleView.html?idxno=2622. Retrieved 2006-12-03. 
  4. ^ Yonhap (1998-01-07). "북한의 컴퓨터산업 어디까지 왔나" (in Korean). Tongilnews.com. http://www.tongilnews.com/article.asp?mainflag=Y&menuid=102000&articleid=2511. Retrieved 2006-12-03. 
  5. ^ "북한용어사전: 평양정보센터(PIC)" (in Korean). http://www.kplibrary.com/nkterm/read.aspx?num=989. Retrieved 2006-12-03. 

External links